diff options
author | Daniel Wiesenberg <weasy@hotmail.de> | 2020-08-02 16:29:50 +0200 |
---|---|---|
committer | Daniel Wiesenberg <weasy@hotmail.de> | 2020-08-11 15:38:24 +0200 |
commit | 31c725660ff21b043008bb980fd6b12ebc43a8f2 (patch) | |
tree | 7322ad35428814616c36bd5be93a51af1c1dd019 /docker-compose.yml | |
parent | 7456caeefd487bffdbcc706fcf7a6310d662e807 (diff) | |
download | conduit-31c725660ff21b043008bb980fd6b12ebc43a8f2.zip |
Add build option to compose file
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 3a390aa..48470e6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,17 @@ version: '3' services: homeserver: + ### If you already built the Conduit image with 'docker build', then you are ready to + ### go. Otherwise, you need to comment the 'image' line and uncomment the 'build' lines + ### and run: CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ') VERSION=$(grep -m1 -o '[0-9].[0-9].[0-9]' Cargo.toml) docker-compose up -d image: conduit_homeserver:latest + # build: + # context: . + # args: + # CREATED: + # VERSION: + # LOCAL: "false" + # GIT_REF: HEAD restart: unless-stopped ports: - 8448:8000 @@ -16,7 +26,7 @@ services: ROCKET_SERVER_NAME: localhost:8000 # replace with your own name ### Uncomment and change values as desired # ROCKET_LOG: normal # Available levels are: off, debug, normal, critical - # ROCKET_PORT: 14004 + # ROCKET_PORT: 8000 # ROCKET_REGISTRATION_DISABLED: 'true' # ROCKET_ENCRYPTION_DISABLED: 'true' # ROCKET_DATABASE_PATH: /srv/conduit/.local/share/conduit |