-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
36 lines (33 loc) · 918 Bytes
/
Copy pathdocker-compose.test.yml
File metadata and controls
36 lines (33 loc) · 918 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
# Optional: docker-compose alternative for manual deployment
# The Jenkins pipeline uses individual docker run commands instead.
# Use this for local testing or manual VPS deployment:
# docker compose -f docker-compose.test.yml up -d
services:
app:
image: imzzaidd/site-7aylabs:staging
container_name: site-7aylabs-test
restart: unless-stopped
environment:
NODE_ENV: production
PORT: "8082"
HOSTNAME: "0.0.0.0"
ALLOWED_ORIGINS: "https://test.7aylabs.com"
DATABASE_URL: "${DATABASE_URL}"
networks:
- jenkins_net
nginx-proxy:
image: nginx:1.27-alpine
container_name: nginx-proxy-test
restart: unless-stopped
depends_on:
- app
ports:
- "8082:80"
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
networks:
- jenkins_net
networks:
jenkins_net:
external: true
name: 7aylabspipeline_testing_site_net