This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
86 lines (81 loc) · 1.82 KB
/
docker-compose.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '2.1'
services:
server:
image: edcd/orbis-server
build:
context: server/
dockerfile: Dockerfile
networks:
- web
env_file:
- .env
links:
- orbis_db:db
labels:
- "traefik.docker.network=web"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:orbis.zone;PathPrefix:/api"
- "traefik.port=3030"
- "traefik.protocol=http"
restart: always
depends_on:
orbis_db:
condition: service_healthy
client:
image: edcd/orbis-client
build:
context: client/
dockerfile: Dockerfile
networks:
- web
labels:
- "traefik.docker.network=web"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:orbis.zone;PathPrefix:/"
- "traefik.port=80"
- "traefik.protocol=http"
restart: always
links:
- server
imaginary:
image: h2non/imaginary:latest
volumes:
- images:/mnt/data
networks:
- web
environment:
PORT: 9000
restart: always
command: -enable-url-source -mount /mnt/data -concurrency 20 -http-cache-ttl 31556926 -enable-placeholder
labels:
- "traefik.docker.network=web"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:orbis.zone;PathPrefixStrip:/imgproxy/"
- "traefik.port=9000"
- "traefik.protocol=http"
orbis_db:
image: bitnami/postgresql:latest
env_file:
- .env
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres", "-ptest"]
interval: 10s
timeout: 5s
retries: 5
networks:
- web
ports:
- 127.0.0.1:5433:5432
volumes:
- orbis_data:/bitnami
restart: always
environment:
POSTGRESQL_PASSWORD: ${PG_PASSWORD}
POSTGRESQL_USERNAME: orbis
POSTGRESQL_DATABASE: orbis
networks:
web:
external: true
volumes:
orbis_data:
images: