Skip to content

Commit a02dafa

Browse files
committed
Production settings for docker.
1 parent 49c94b7 commit a02dafa

File tree

2 files changed

+3
-29
lines changed

2 files changed

+3
-29
lines changed

.env

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
# watch
2-
WATCHTOWER_IMAGE_TAG=1.1.6
3-
WATCHTOWER_SCHEDULE="0 */15 * * * *"
4-
WATCHTOWER_CLEANUP=true
5-
WATCHTOWER_SCOPE=development
6-
71
# webapp
8-
APPUI_IMAGE_TAG=latest
2+
APPUI_IMAGE_TAG=production
93
APPUI_PORT=3000
104
PC_URL=https://www.pathwaycommons.org/
11-
NODE_ENV=development
12-
FACTOID_URL=https://unstable.factoid.baderlab.org/
5+
NODE_ENV=production
6+
FACTOID_URL=https://biofactoid.org/

docker-compose.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
11
version: "3.8"
22
services:
3-
watch:
4-
image: containrrr/watchtower:${WATCHTOWER_IMAGE_TAG:-latest}
5-
labels:
6-
- com.centurylinklabs.watchtower.scope=${WATCHTOWER_SCOPE:-development}
7-
restart: always
8-
depends_on:
9-
- webapp
10-
container_name: watch
11-
environment:
12-
TZ: "America/Toronto"
13-
WATCHTOWER_SCHEDULE:
14-
WATCHTOWER_CLEANUP:
15-
WATCHTOWER_SCOPE:
16-
networks:
17-
- app-ui-network
18-
volumes:
19-
- /var/run/docker.sock:/var/run/docker.sock
20-
command: ["webapp"]
213
webapp:
224
image: pathwaycommons/app-ui:${APPUI_IMAGE_TAG:-latest}
23-
labels:
24-
- com.centurylinklabs.watchtower.scope=${WATCHTOWER_SCOPE:-development}
255
restart: unless-stopped
266
container_name: webapp
277
ports:

0 commit comments

Comments
 (0)