Create separate production configuration

This commit is contained in:
2022-07-29 08:01:48 +01:00
parent a9f499ec67
commit 479e5072d2
6 changed files with 67 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ version: "2"
services:
app:
image: pathogen/threshold
build: .
build: ./docker
volumes:
- ${PORTAINER_GIT_DIR}:/code
ports:
@@ -11,10 +11,12 @@ services:
- "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}"
- "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}"
env_file:
- stack.env
- .env
# for development
extra_hosts:
- "host.docker.internal:host-gateway"
volumes_from:
- tmp
tmp:
image: busybox