docker/docker-compose.seperate.yml

47 lines
828 B
YAML
Raw Normal View History

2022-11-08 17:12:15 +01:00
version: '3.3'
services:
app:
image: jeroened/webcron:dev-webui
restart: always
env_file: .env
networks:
- webcron
depends_on:
- db
volumes:
- webcron_cache:/var/www/webcron/var/cache
daemon:
image: jeroened/webcron:dev-daemon
restart: always
env_file: .env
networks:
- webcron
depends_on:
- db
volumes:
- webcron_cache:/var/www/webcron/var/cache
db:
image: mariadb
hostname: webcrondb
restart: always
networks:
- webcron
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=webcron
- MYSQL_PASSWORD=makemesecretplease
- MYSQL_DATABASE=webcron
volumes:
- webcron_db:/var/lib/mysql
networks:
webcron:
driver: bridge
volumes:
webcron_db:
webcron_cache: