-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.base.yml
More file actions
49 lines (44 loc) · 1.01 KB
/
docker-compose.base.yml
File metadata and controls
49 lines (44 loc) · 1.01 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
version: "3.7"
services:
mailhog:
container_name: "stellar_mailhog"
image: mailhog/mailhog:latest
ports:
- "8025:8025"
- "10250:1025"
postgres:
container_name: "stellar_pgsql"
image: mdillon/postgis
environment:
POSTGRES_USER: stellar
POSTGRES_PASSWORD: secret
POSTGRES_DB: stellar
restart: unless-stopped
ports:
- "54320:5432"
volumes:
- ./scripts/pgsql:/scripts/
- ./scripts/setup-pgsql.sh:/usr/local/bin/setup.sh
mysql:
container_name: "stellar_mysql"
image: mysql:8
ports:
- "33060:3306"
volumes:
- ./scripts/mysql:/scripts/
- ./docker/mysql:/etc/mysql/conf.d/
environment:
MYSQL_ROOT_PASSWORD: stellar
MYSQL_USER: stellar
MYSQL_PASSWORD: secret
MYSQL_DATABASE: stellar
restart: unless-stopped
redis:
container_name: "stellar_redis"
image: redis:alpine
ports:
- "63790:6379"
restart: unless-stopped
networks:
default:
name: stellar-network