File tree Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Original file line number Diff line number Diff line change
1
+ # port: 3000
2
+
1
3
services :
2
4
currencia :
3
5
image : ghcr.io/hugorcd/currencia:latest
4
6
container_name : currencia
5
7
restart : always
6
8
environment :
7
- - DATABASE_URL=${DATABASE_URL:-postgres://postgres:postgres@currencia_db:5432/postgres }
9
+ - DATABASE_URL=${DATABASE_URL}
8
10
- NUXT_OAUTH_GITHUB_CLIENT_ID=${NUXT_OAUTH_GITHUB_CLIENT_ID}
9
11
- NUXT_OAUTH_GITHUB_CLIENT_SECRET=${NUXT_OAUTH_GITHUB_CLIENT_SECRET}
10
12
- NUXT_SESSION_PASSWORD=${NUXT_SESSION_PASSWORD}
11
13
- NUXT_PRIVATE_RESEND_API_KEY=${NUXT_PRIVATE_RESEND_API_KEY}
12
- depends_on :
13
- - currencia_db
14
14
ports :
15
15
- " 3000:3000"
16
16
healthcheck :
@@ -31,25 +31,6 @@ services:
31
31
reservations :
32
32
cpus : ' 0.5'
33
33
memory : 512M
34
- currencia_db :
35
- container_name : currencia_db
36
- image : postgres:17-alpine
37
- restart : always
38
- volumes :
39
- - postgres:/var/lib/postgresql/data
40
- environment :
41
- POSTGRES_USER : ${POSTGRES_USER:-postgres}
42
- POSTGRES_PASSWORD : ${POSTGRES_PASSWORD:-postgres}
43
- POSTGRES_DB : ${POSTGRES_DB:-postgres}
44
- ports :
45
- - " 5431:5432"
46
- healthcheck :
47
- test : [ "CMD", "pg_isready", "-U", "postgres" ]
48
- interval : 30s
49
- timeout : 10s
50
- retries : 3
51
- networks :
52
- - currencia-network
53
34
prisma_migrate :
54
35
image : ghcr.io/hugorcd/currencia:latest
55
36
container_name : prisma_migrate
@@ -66,6 +47,3 @@ services:
66
47
networks :
67
48
currencia-network :
68
49
driver : bridge
69
-
70
- volumes :
71
- postgres :
You can’t perform that action at this time.
0 commit comments