times_new_nginx/docker-compose.yaml

38 lines
894 B
YAML
Raw Normal View History

2024-10-05 07:35:25 +03:00
name: reverse_dev
2024-10-04 00:48:20 +03:00
include:
- path:
- compose_extends/network.include.yaml
2024-09-03 21:00:49 +03:00
services:
reverse:
2024-10-03 23:44:15 +03:00
extends:
file: compose_extends/docker-compose.base.yaml
service: reverse
2024-10-05 07:35:25 +03:00
build:
context: .
dockerfile: Dockerfiles/Dockerfile_devserver
args:
CONT_IMG_VER: "v1.0.0"
pull_policy: missing
2024-09-03 21:00:49 +03:00
volumes:
- "./sites-enabled:/etc/nginx/sites-enabled:ro"
ports:
- 80:80
- 443:443
2024-10-03 23:44:15 +03:00
networks:
2024-10-05 07:22:27 +03:00
- services
2024-10-05 07:35:25 +03:00
secrets:
- source: softsols_cert
target: /etc/nginx/ssl/live/softsols.ru/fullchain.pem
- source: softsols_key
target: /etc/nginx/ssl/live/softsols.ru/privkey.pem
2024-10-05 07:22:27 +03:00
2024-10-05 07:35:25 +03:00
secrets:
softsols_cert:
name: softsols_cert
file: ./ssl/live/softsols.ru/fullchain.pem
2024-10-05 07:22:27 +03:00
external: false
2024-10-05 07:35:25 +03:00
softsols_key:
name: softsols_key
file: ./ssl/live/softsols.ru/privkey.pem
external: false