File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 cache-to : type=gha,mode=max
4343 platforms : linux/amd64,linux/arm64
4444 build-args : |
45- NEXT_PUBLIC_BACKEND_URL=http://localhost:8000
45+ NEXT_PUBLIC_BACKEND_URL="/api"
4646 - name : Output client image name
4747 if : github.event_name != 'pull_request'
4848 run : |
Original file line number Diff line number Diff line change @@ -12,24 +12,22 @@ services:
1212 retries : 5
1313
1414 server :
15- image : ghcr.io/codersforcauses/transplant-prod-server:latest
16- container_name : transplant_server
15+ image : ghcr.io/codersforcauses/django-nextjs-template-prod-server:latest
1716 restart : unless-stopped
1817 env_file : ./.env.prod
1918 ports :
2019 - 8081:8081
2120 entrypoint : /entrypoint.sh
2221 volumes :
2322 - ./opt/accesslogs/:/var/log/accesslogs/
24- - ./opt/static_files:/opt /static_files
23+ - ./opt/static_files:/app /static_files
2524 environment :
2625 - DJANGO_SETTINGS_MODULE=api.settings
2726 depends_on :
2827 - db
2928
3029 client :
31- image : ghcr.io/codersforcauses/transplant-prod-client:latest
32- container_name : transplant_client
30+ image : ghcr.io/codersforcauses/django-nextjs-template-prod-client:latest
3331 restart : unless-stopped
3432 env_file : ./.env.prod
3533 ports :
@@ -40,22 +38,20 @@ services:
4038
4139 nginx :
4240 image : nginx:stable-alpine3.21
43- container_name : transplant_nginx
4441 restart : unless-stopped
4542 ports :
4643 - 80:80
4744 - 443:443
4845
4946 volumes :
5047 - ./docker/nginx/custom.conf:/etc/nginx/nginx.conf
51- - ./opt/static_files:/app /static_files
48+ - ./opt/static_files:/opt /static_files/
5249 depends_on :
5350 - server
5451 - client
5552
5653 watchtower :
5754 image : containrrr/watchtower:latest
58- container_name : transplant_watchtower
5955 restart : unless-stopped
6056 volumes :
6157 - /var/run/docker.sock:/var/run/docker.sock
You can’t perform that action at this time.
0 commit comments