-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.aquarium.yml
63 lines (60 loc) · 1.5 KB
/
docker-compose.aquarium.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
# Docker-compose file for Aquarium and Krill services
#
version: "3.5"
services:
app:
image: aquariumbio/aquarium:${AQUARIUM_VERSION}
command: ["production"]
environment:
DB_NAME: ${DB_NAME}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
S3_SERVICE: ${S3_SERVICE}
S3_HOST: ${S3_HOST}
S3_PROTOCOL: ${S3_PROTOCOL}
S3_ACCESS_KEY_ID: ${S3_ID}
S3_SECRET_ACCESS_KEY: ${S3_SECRET_ACCESS_KEY}
S3_BUCKET_NAME: ${S3_BUCKET_NAME}
S3_REGION: ${S3_REGION}
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
TZ: ${TIMEZONE}
volumes:
- public:/aquarium/public
- logs:/aquarium/log
- shared:/aquarium/shared
- ./config/instance.yml:/aquarium/config/instance.yml
networks:
- aquarium_net
expose:
- "3000"
krill:
image: aquariumbio/aquarium:${AQUARIUM_VERSION}
command: ["krill", "production"]
networks:
- aquarium_net
expose:
- "3500"
environment:
DB_NAME: ${DB_NAME}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
S3_SERVICE: ${S3_SERVICE}
S3_HOST: ${S3_HOST}
S3_PROTOCOL: ${S3_PROTOCOL}
S3_ACCESS_KEY_ID: ${S3_ID}
S3_SECRET_ACCESS_KEY: ${S3_SECRET_ACCESS_KEY}
S3_BUCKET_NAME: ${S3_BUCKET_NAME}
S3_REGION: ${S3_REGION}
TZ: ${TIMEZONE}
depends_on:
- app
networks:
aquarium_net:
volumes:
public:
logs:
shared: