-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
65 lines (59 loc) · 1.39 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
version: '3.7'
services:
clipy:
container_name: cl_flask
image: hotglue:65456/clipy:latest
ports:
- "127.0.0.1:893:893"
environment:
CONFIG: /conf/settings.json
FILE_SAVE_DIR: /files
volumes:
- ./conf/flask/:/conf/:ro
- /s/clipy/files:/files:rw
restart: unless-stopped
nginx:
container_name: cl_nginx
image: nginx
ports:
- "127.0.0.1:6776:80"
volumes:
- /http:/http:ro
- ./conf/nginx:/etc/nginx:ro
restart: unless-stopped
postgres:
container_name: cl_postgres
image: "postgres:13.0"
environment:
POSTGRES_DB: clipy
POSTGRES_USER: clipy
POSTGRES_PASSWORD: changeme
networks:
default:
aliases:
- postgres
ports:
- "127.0.0.1:5438:5438"
volumes:
- ./conf/postgres:/etc/postgresql:ro
- postgres_data:/var/lib/postgresql/data:rw
restart: unless-stopped
command: postgres -c 'config_file=/etc/postgresql/postgresql.conf'
# logstash:
# container_name: cl_logstash
# image: "logstash:7.9.3"
# volumes:
# - ./conf/logstash:/usr/share/logstash/config:ro
# entrypoint: logstash -f /usr/share/logstash/config/logstash.conf
# networks:
# default:
# aliases:
# - logstash
# restart: unless-stopped
volumes:
postgres_data:
driver: local
networks:
default:
name: clipy
driver: bridge