You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
801 B
33 lines
801 B
version: "2"
|
|
|
|
services:
|
|
backend:
|
|
image: photovoter-backend:latest
|
|
volumes:
|
|
- ./photovoter_data:/srv/photovoter
|
|
networks:
|
|
default:
|
|
aliases:
|
|
- backend
|
|
|
|
|
|
frontend:
|
|
image: photovoter-frontend:latest
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./photovoter_data/image:/srv/photos
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
networks:
|
|
- default
|
|
|
|
|
|
volumes:
|
|
caddy_data:
|
|
external: true
|
|
caddy_config:
|
|
|
|
networks:
|
|
default:
|