Skip to content

Commit 45dd78c

Browse files
committed
add port for coolify
1 parent a92f35f commit 45dd78c

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

docker-compose.community.yml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1+
# port: 3000
2+
13
services:
24
currencia:
35
image: ghcr.io/hugorcd/currencia:latest
46
container_name: currencia
57
restart: always
68
environment:
7-
- DATABASE_URL=${DATABASE_URL:-postgres://postgres:postgres@currencia_db:5432/postgres}
9+
- DATABASE_URL=${DATABASE_URL}
810
- NUXT_OAUTH_GITHUB_CLIENT_ID=${NUXT_OAUTH_GITHUB_CLIENT_ID}
911
- NUXT_OAUTH_GITHUB_CLIENT_SECRET=${NUXT_OAUTH_GITHUB_CLIENT_SECRET}
1012
- NUXT_SESSION_PASSWORD=${NUXT_SESSION_PASSWORD}
1113
- NUXT_PRIVATE_RESEND_API_KEY=${NUXT_PRIVATE_RESEND_API_KEY}
12-
depends_on:
13-
- currencia_db
1414
ports:
1515
- "3000:3000"
1616
healthcheck:
@@ -31,25 +31,6 @@ services:
3131
reservations:
3232
cpus: '0.5'
3333
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
5334
prisma_migrate:
5435
image: ghcr.io/hugorcd/currencia:latest
5536
container_name: prisma_migrate
@@ -66,6 +47,3 @@ services:
6647
networks:
6748
currencia-network:
6849
driver: bridge
69-
70-
volumes:
71-
postgres:

0 commit comments

Comments
 (0)