Create basic test environment using docker
This commit is contained in:
commit
8cdf0b63e0
30
test-instance/docker-compose.yml
Normal file
30
test-instance/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: '3.1'
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
||||
services:
|
||||
joomla:
|
||||
# image: joomla
|
||||
build: joomla
|
||||
# restart: always
|
||||
links:
|
||||
- db:mysql
|
||||
ports:
|
||||
- 8002:80
|
||||
volumes:
|
||||
- ./volumes/joomla:/var/www/html
|
||||
- ../template/src:/template:ro
|
||||
- ../template/src:/var/www/html/templates/kita_zwergenland:ro
|
||||
- ./sync:/sync:ro
|
||||
environment:
|
||||
JOOMLA_DB_HOST: db
|
||||
JOOMLA_DB_PASSWORD: example
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
Loading…
x
Reference in New Issue
Block a user