-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
46 lines (45 loc) · 1.04 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
version: "3"
services:
postgresSQL:
image: postgres:latest
container_name: postgresSQL
hostname: postgresSQL
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
networks:
webproxy:
ipv4_address: 192.168.1.2
mongoDB:
image: mongo:latest
container_name: mongoDB
hostname: mongoDB
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
networks:
webproxy:
ipv4_address: 192.168.1.3
pgadmin4:
image: dpage/pgadmin4:latest
container_name: pgadmin4
hostname: pgadmin4
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: pgadmin4@pgadmin.org
PGADMIN_DEFAULT_PASSWORD: admin
volumes:
- /var/lib/pgadmin:/var/lib/pgadmin
networks:
webproxy:
ipv4_address: 192.168.1.4
links:
- postgresSQL:postgres
networks:
webproxy:
driver: bridge
ipam:
config:
- subnet: 192.168.1.0/24