Create separate production configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user