-
Notifications
You must be signed in to change notification settings - Fork 4
/
build_staging.yml
41 lines (41 loc) · 1.17 KB
/
build_staging.yml
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
services:
django:
build: django/
entrypoint: /app/docker-entrypoint.sh
command: build
volumes:
- ./django/:/app:delegated
- ./nginx-prod/build/:/build:delegated
- ./logs/django:/app/logs:delegated
environment:
- BUILD=YES
env_file:
- ./secrets/staging/sausage-web.staging.env
- ./secrets/dev/sausage-web-db.dev.env
public:
image: node:20-alpine3.19
entrypoint: /app/docker-entrypoint.sh
command: build
volumes:
- ./public:/app:delegated
- ./nginx-prod/build/:/build:delegated
env_file:
- secrets/staging/sausage-public-frontend.staging.env
public_redesign:
image: node:20-alpine3.19
entrypoint: /app/docker-entrypoint.sh
command: build
volumes:
- ./public-redesign:/app:delegated
- ./nginx-prod/build/:/build:delegated
env_file:
- secrets/staging/sausage-public-redesign-frontend.staging.env
admin:
image: node:20-alpine3.19
entrypoint: /app/docker-entrypoint.sh
command: build
volumes:
- ./admin:/app:delegated
- ./nginx-prod/build/:/build:delegated
env_file:
- secrets/staging/sausage-admin-frontend.staging.env