Add ability to switch between local and remote build with build arg a...

...nd add env vars to docker-compose
This commit is contained in:
Daniel Wiesenberg 2020-08-01 18:20:30 +02:00
parent ecb6416244
commit 0338053774
2 changed files with 19 additions and 7 deletions

View file

@ -12,10 +12,13 @@ services:
environment:
ROCKET_SERVER_NAME: example.com # replace with your own name
### Uncomment and change values as needed
#ROCKET_LOG: normal
#ROCKET_REGISTRATION_DISABLED: 'true'
#ROCKET_DATABASE_PATH: /data/sled
#ROCKET_WORKERS: 10
# ROCKET_LOG: normal
# ROCKET_PORT: 14004
# ROCKET_REGISTRATION_DISABLED: 'true'
# ROCKET_ENCRYPTION_DISABLED: 'true'
# ROCKET_DATABASE_PATH: /srv/conduit/.local/share/conduit
# ROCKET_WORKERS: 10
# ROCKET_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
volumes:
db: