Skip to content

Commit fed93ab

Browse files
chore: improve prod config
1 parent d0834de commit fed93ab

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ sample.env
22
.env
33
README.md
44
eslint.config.js
5+
Dockerfile
6+
compose.yaml
7+
prod.compose.yaml
58
.github
69
docs
710
node_modules
811
tests
12+
certs

prod.compose.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ services:
22
postgres-ucpa:
33
image: postgres:15.8-alpine
44
container_name: ucpa-postgres
5+
restart: always
56
networks:
67
- back
78
ports:
@@ -18,6 +19,9 @@ services:
1819
chrome:
1920
image: ghcr.io/browserless/chromium
2021
container_name: chrome
22+
ports:
23+
- '3033:3000'
24+
restart: always
2125
networks:
2226
- back
2327

@@ -30,6 +34,7 @@ services:
3034
- chrome
3135
command: >
3236
sh -c "npm run db:migrate && npm start"
37+
restart: always
3338
networks:
3439
- back
3540
- web

0 commit comments

Comments
 (0)