-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
42 lines (39 loc) · 1021 Bytes
/
docker-compose.prod.yml
File metadata and controls
42 lines (39 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
postgres:
image: postgres:17-alpine
container_name: tienda_postgres
restart: unless-stopped
environment:
POSTGRES_DB: ${DATABASE_NAME:-tienda}
POSTGRES_USER: ${DATABASE_USERNAME:-tienda_user}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5434:5432"
strapi:
image: ghcr.io/benser22/rano-app/backend:latest
container_name: tienda_strapi
restart: unless-stopped
env_file:
- ./backend/.env
depends_on:
- postgres
ports:
- "4001:1337"
volumes:
- strapi_uploads:/app/public/uploads
frontend:
image: ghcr.io/benser22/rano-app/frontend:latest
container_name: tienda_frontend
restart: unless-stopped
environment:
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-https://rano-api.22studios.xyz}
API_URL: http://strapi:1337
ports:
- "4000:3000"
depends_on:
- strapi
volumes:
postgres_data:
strapi_uploads: