The deployment in its current form is a hotfix. At the moment, quite a few changes to the sub-repo cf-journex are necessary.
30 lines
629 B
YAML
30 lines
629 B
YAML
# Links & Resources
|
|
# - https://hub.docker.com/_/caddy
|
|
# - https://caddyserver.com/docs/
|
|
|
|
services:
|
|
caddy:
|
|
container_name: caddy
|
|
image: caddy:2.10
|
|
restart: unless-stopped
|
|
ports:
|
|
- 0.0.0.0:80:80
|
|
- 0.0.0.0:443:443
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- ./sites/:/etc/caddy/sites/:ro
|
|
- /ansible_docker_compose/project_data/reverse-proxy/caddy/data:/data
|
|
- journex_frontend_dist:/srv/journex:ro
|
|
env_file:
|
|
- .env
|
|
networks:
|
|
- caddy_net
|
|
|
|
networks:
|
|
caddy_net:
|
|
name: caddy_net
|
|
|
|
volumes:
|
|
journex_frontend_dist:
|
|
name: journex_frontend_dist
|