forked from internetarchive/arklet
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.nginx.yml
58 lines (54 loc) · 1.07 KB
/
docker-compose.nginx.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3.7"
services:
arklet-minter:
container_name: arklet_minter
restart: always
build:
context: .
target: prod
dockerfile: ./Dockerfile
command: /app/entrypoint.sh
volumes:
- ./ark:/app/ark
- ./arklet:/app/arklet
- static_volume:/app/static
env_file:
- ./docker/env.prod
environment:
ARKLET_PORT: "8080"
expose:
- 8080
arklet-resolver:
container_name: arklet_resolver
restart: always
build:
context: .
target: prod
dockerfile: ./Dockerfile
command: /app/entrypoint.sh
volumes:
- ./ark:/app/ark
- ./arklet:/app/arklet
- static_volume:/app/static
env_file:
- ./docker/env.prod
environment:
ARKLET_PORT: "8000"
RESOLVER: "true"
expose:
- 8000
nginx:
restart: always
profiles: ["nginx"]
build: ./nginx
ports:
- 80:80
- 443:443
- 8080:8080
depends_on:
- arklet-minter
- arklet-resolver
volumes:
- static_volume:/app/static
volumes:
static_volume: