Files
photos/dockercomposeexample/docker-compose.yml
Stepan Usatiuk 2a02b6c60b remove misleading config
it doesn't work because it's build time
2020-10-19 21:38:46 +03:00

23 lines
395 B
YAML

version: "3.8"
services:
photosapp:
image: docker.io/stepanusatiuk/photos_test
ports:
- "8080:8080"
volumes:
- ./data:/usr/src/app/data
environment:
- JWT_SECRET=huegrhuigerhupoiervw
env_file:
- db.env
depends_on:
- db
db:
image: mariadb
restart: always
volumes:
- ./dbdata:/var/lib/mysql
env_file:
- db.env