-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·72 lines (68 loc) · 1.56 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
version: '3'
# networks:
# scem-net:
# volumes:
# redis-data:
# postgres-data:
# golangscem-data:
services:
gorush:
container_name: gorush_docker
image: appleboy/gorush
restart: always
ports:
- "7088:8088"
- "7000:9000"
logging:
options:
max-size: "100k"
max-file: "3"
environment:
- GORUSH_CORE_QUEUE_NUM=512
- GORUSH_GRPC_ENABLED=true
- GORUSH_ANDROID_ENABLED=true
- GORUSH_ANDROID_APIKEY=<input from google fcm>
# networks:
# - scem-net
# redis:
# container_name: redis_docker
# image: redis:6.2-rc1-alpine
# restart: always
# command: ["redis-server", "--appendonly", "yes","--port", "6379"]
# hostname: redis
# ports:
# - "6379:6379"
# networks:
# - scem-net
# volumes:
# - redis-data:/data
# postgres:
# container_name: scem_postgres_docker
# image: postgres:13.1-alpine
# restart: always
# hostname: postgres
# ports:
# - "5432:5432"
# env_file:
# - ./docker/scem_database.env # configure postgres
# volumes:
# - postgres-data:/var/lib/postgresql/data/
# networks:
# - scem-net
# golang_scem:
# container_name: golang_scem_docker
# # build: .
# image: golang_scem
# restart: always
# volumes:
# - golangscem-data:/storage
# depends_on:
# - postgres
# - redis
# ports:
# - '5000:5000'
# - '5001:5001'
# env_file:
# - ./docker/golang_scem.env # configure postgres
# networks:
# - scem-net