-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
44 lines (40 loc) · 1.02 KB
/
docker-compose.prod.yml
File metadata and controls
44 lines (40 loc) · 1.02 KB
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
43
version: "3"
services:
cloudflare:
image: "cloudflare/cloudflared:latest"
container_name: "nutfes-seeft-web"
volumes: ["./web/prod:/home/nonroot/.cloudflared"]
command: tunnel run
mobile:
build: "./mobile"
container_name: "nutfes-seeft-mobile"
volumes: ["./mobile:/app"]
command: "python3 ./python/server.py"
ports: ["45029:45029"]
environment:
NEXT_PUBLIC_APP_ENV: "production"
depends_on: ["api"]
api:
build:
context: ./api
dockerfile: prod.Dockerfile
container_name: "nutfes-seeft-api"
volumes: ["./api:/env/app"]
command: "go run main.go"
env_file: ["./api/env/seeft.env"]
ports: ["1234:1234"]
admin:
container_name: "nutfes-seeft-admin"
build:
context: ./admin
dockerfile: prod.Dockerfile
volumes:
- ./admin:/app
command: sh -c "npm install && npm run dev"
ports:
- "5000:3000"
environment:
NEXT_PUBLIC_APP_ENV: "production"
stdin_open: true
tty: true
depends_on: [api]