27 lines
522 B
YAML

volumes:
db:
services:
joomla:
image: joomla
# build: joomla
# restart: always
ports:
- 8003:80
volumes:
- ./volumes/joomla:/var/www/html
- ../template/src:/template:ro
- ../template/src:/var/www/html/templates/reifenscheune: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