mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-08-14 23:56:53 +00:00
All environment settings moved to file
This commit is contained in:
parent
be894a4e8f
commit
9585a063fd
2 changed files with 13 additions and 9 deletions
|
@ -44,3 +44,10 @@ hibernate.connection.driver_class="org.postgresql.Driver"
|
||||||
hibernate.dialect="org.hibernate.dialect.PostgreSQLDialect"
|
hibernate.dialect="org.hibernate.dialect.PostgreSQLDialect"
|
||||||
hibernate.connection.username="piped"
|
hibernate.connection.username="piped"
|
||||||
hibernate.connection.password="changeme"
|
hibernate.connection.password="changeme"
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# Watchtower settings #
|
||||||
|
###########################
|
||||||
|
|
||||||
|
WATCHTOWER_CLEANUP=true
|
||||||
|
WATCHTOWER_INCLUDE_RESTARTING=true
|
||||||
|
|
|
@ -25,8 +25,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- configuration.env
|
- configuration.env
|
||||||
volumes:
|
# volumes:
|
||||||
- ./config/config.properties:/app/config.properties:ro
|
# - ./config/config.properties:/app/config.properties:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -36,10 +36,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
environment:
|
env_file:
|
||||||
- FRONTEND_HOSTNAME=frontend-host.example.com
|
- configuration.env
|
||||||
- BACKEND_HOSTNAME=backend-host.example.com
|
|
||||||
- PROXY_HOSTNAME=proxy-host.example.com
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/piped.conf.template:/etc/nginx/templates/piped.conf.template:ro
|
- ./config/piped.conf.template:/etc/nginx/templates/piped.conf.template:ro
|
||||||
- ./config/ytproxy.conf:/etc/nginx/snippets/ytproxy.conf:ro
|
- ./config/ytproxy.conf:/etc/nginx/snippets/ytproxy.conf:ro
|
||||||
|
@ -69,9 +67,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
environment:
|
env_file:
|
||||||
- WATCHTOWER_CLEANUP=true
|
- configuration.env
|
||||||
- WATCHTOWER_INCLUDE_RESTARTING=true
|
|
||||||
command: piped-frontend piped-backend piped-proxy nginx postgres watchtower
|
command: piped-frontend piped-backend piped-proxy nginx postgres watchtower
|
||||||
volumes:
|
volumes:
|
||||||
piped-proxy: null
|
piped-proxy: null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue