This repository was archived by the owner on Apr 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
95 lines (87 loc) · 2.17 KB
/
docker-compose.yml
File metadata and controls
95 lines (87 loc) · 2.17 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
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
87
88
89
90
91
92
93
94
95
version: '2.4'
services:
web-api:
container_name: dm-server-web
image: "nginx:1.15"
restart: always
depends_on:
- php
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./current:/var/www:z
networks:
front-network:
aliases:
- web
public-network:
aliases:
- web-api
php:
container_name: dm-server-php
restart: always
depends_on:
- db
build:
context: .
dockerfile: Dockerfile
volumes:
- ./msmtp.conf:/etc/msmtprc
- ./current:/var/www:z
networks:
- front-network
- db-network
- cover-id-network
db:
container_name: db
image: "mariadb:10.7"
restart: always
volumes:
- db:/var/lib/mysql
- $MYSQL_INIT_SCRIPT:/docker-entrypoint-initdb.d/$MYSQL_INIT_SCRIPT_TARGET_FILE_NAME:ro
ports:
- "64999:3306"
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
command: ['mysqld', '--character-set-server=utf8', '--collation-server=utf8_unicode_ci']
networks:
- db-network
- cover-id-network
pastec:
container_name: pastec-ubuntu-1704-timestamps
restart: always
image: "bperel/pastec-ubuntu-1704-timestamps"
volumes:
- ./pastec-index-last.dat:/pastec-index-last.dat:ro
command: "./pastec -p 4212 -i /pastec-index-last.dat /pastec/data/visualWordsORB.dat"
networks:
- cover-id-network
subscription-runner:
container_name: subscriptions-runner
image: "library/debian:jessie-slim"
depends_on:
- db
env_file: .env.prod.local
environment:
- MYSQL_COA_HOST=db
- MYSQL_COA_DATABASE=coa
- MYSQL_DM_HOST=db
- MYSQL_DM_DATABASE=dm
- MYSQL_PASSWORD=$MYSQL_ROOT_PASSWORD
networks:
- db-network
volumes:
- ./scripts:/home/scripts
command: "bash -c 'apt-get update && apt-get install -y mysql-client && sh /home/scripts/subscriptions/create-issues-from-subscriptions.sh'"
networks:
front-network:
driver: bridge
db-network:
driver: bridge
cover-id-network:
driver: bridge
public-network:
external: true
volumes:
db:
duck_estimator_cache:
node_cache: