Files
ScoutingApp2022/docker-compose.prod.yml
T

29 lines
612 B
YAML
Raw Normal View History

2022-01-08 12:52:39 -07:00
version: "3"
2022-02-02 05:37:10 +00:00
2022-01-08 12:52:39 -07:00
services:
scouting-webserver-prod:
2022-02-02 05:37:10 +00:00
container_name: "production"
2022-01-08 12:52:39 -07:00
restart: unless-stopped
env_file:
- .env
2022-02-02 05:37:10 +00:00
build:
2022-01-08 12:52:39 -07:00
context: ./webserver
dockerfile: ./Dockerfile.prod
expose:
2022-03-24 00:28:48 -06:00
- 80
2022-02-02 05:37:10 +00:00
ports:
2022-03-24 00:28:48 -06:00
- "80:80/tcp"
2022-02-02 05:37:10 +00:00
# - "80:80/tcp"
# - "443:443/tcp"
volumes:
- ./webserver/nginx:/etc/nginx/:ro
2022-03-24 00:28:48 -06:00
# ssl-proxy:
# image: fsouza/docker-ssl-proxy
# ports:
# - "80:80"
# - "443:443"
# environment:
# - DOMAIN=10.43.88.1
# - TARGET_PORT=8080
# - TARGET_HOST=scouting-webserver-prod
2022-04-02 17:13:50 -06:00
# - SSL_PORT:443