-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
docker-compose.yml
51 lines (51 loc) · 953 Bytes
/
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
version: "3.3"
services:
mysql:
image: mysql:5.6
container_name: mysql
ports:
- "3306:3306"
volumes:
- mysql:/data
networks:
- goadmin
environment:
- MYSQL_ROOT_PASSWORD=goadmin
postgres:
image: postgres:latest
container_name: postgres
ports:
- "5432:5432"
volumes:
- postgres:/data
networks:
- goadmin
environment:
- POSTGRES_PASSWORD=goadmin
goadmin:
image: josingcjx/goadmin:1.1
tty: true
container_name: goadmin
volumes:
- .:/home/goadmin
networks:
- goadmin
command:
- /bin/bash
portainer:
image: portainer/portainer:latest
container_name: portainer
restart: always
ports:
- "9000:9000"
networks:
- goadmin
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer:/data
networks:
goadmin: {}
volumes:
portainer: {}
postgres: {}
mysql: {}