-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-prod-web.yml
40 lines (38 loc) · 1.05 KB
/
docker-compose-prod-web.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
version: "3.5"
networks:
traefik-net:
external: true
services:
meetup:
image: strapdata/openfoodfacts:0.2
deploy:
replicas: 2
restart_policy:
condition: on-failure
labels:
traefik.backend: meetup
traefik.frontend.rule: "Host:meetup.903403a9-617f-47ac-933e-537a73091e54.azure.strapcloud.com"
traefik.docker.network: traefik-net
traefik.port: 5000
networks:
- traefik-net
volumes:
- type: bind
source: /etc/docker-context.sh
target: /etc/profile.d/docker-context.sh
read_only: true
- type: bind
source: /home/centos/.cassandra/cqlshrc
target: /root/.cassandra/cqlshrc
read_only: true
- type: bind
source: /etc/cassandra/cacert.pem
target: /cacert.pem
read_only: true
environment:
ELASSANDRA_CERTFILE: "/cacert.pem"
ELASSANDRA_LOAD_CQLSHRC: "true"
ELASSANDRA_RF_MAP: '{"DC1": 2, "DC2": 1}'
ELASSANDRA_LOCAL_DC: "DC1"
ELASSANDRA_KEYSPACE: "meetup2"
DEBUG: "true"