Skip to content

Commit

Permalink
feat: update deployment (#30)
Browse files Browse the repository at this point in the history
* feat: update deployment

* feat: add prod deployment config
  • Loading branch information
gregfrasco authored Apr 6, 2023
1 parent b3bca5b commit 2b2beb2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
29 changes: 29 additions & 0 deletions deployment/docker-compose-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3'
services:
time-tracker-frontend:
image: hicsail/sail-time-tracker-frontend:latest
container_name: time-tracker-frontend
restart: always
ports:
- 4004:80
env_file:
- ../stack.env
time-tracker-backend:
image: hicsail/sail-time-tracker-backend:latest
container_name: time-tracker-backend
restart: always
ports:
- 4003:3000
env_file:
- ../stack.env
time-tracker-postgres:
image: postgres:13
restart: always
ports:
- 5433:5432
volumes:
- time-tracker-staging:/var/lib/postgresql/data
env_file:
- ../stack.env
volumes:
time-tracker-staging: ~
7 changes: 4 additions & 3 deletions deployment/docker-compose-staging.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
version: '3'
services:
time-tracker-frontend:
image: hicsail/sail-time-tracker-frontend:unstable
image: hicsail/sail-time-tracker-frontend:main
container_name: time-tracker-frontend
restart: always
ports:
- 4004:80
env_file:
- ../stack.env
time-tracker-backend:
image: hicsail/sail-time-tracker-backend:unstable
image: hicsail/sail-time-tracker-backend:main
container_name: time-tracker-backend
restart: always
ports:
- 4003:3000
- 4005:5555
env_file:
- ../stack.env
time-tracker-postgres:
Expand Down

0 comments on commit 2b2beb2

Please sign in to comment.