-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (45 loc) · 983 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (45 loc) · 983 Bytes
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
version: '3.8'
services:
postgres:
image: postgres:13
container_name: postgres
restart: always
ports:
- 5445:5432
environment:
POSTGRES_USER: ${USER}
POSTGRES_PASSWORD: ${PASSWORD}
POSTGRES_DB: ${DB}
volumes:
- mydb:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4:4.28
container_name: pgadmin
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: ${PGUSEREMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PASSWORD}
PGADMIN_LISTEN_PORT: 80
ports:
- "8080:80"
volumes:
- pgadmin-data:/var/lib/pgadmin
links:
- "postgres:pgsql-server"
sql-server:
container_name: sql-server
image: microsoft/mssql-server-linux:2017-latest
ports:
- "1433:1433"
environment:
SA_PASSWORD: ${PASSWORD}
ACCEPT_EULA: "Y"
volumes:
- mydb2:/var/opt/mssql
volumes:
mydb:
name: mydb
mydb2:
name: mydb2
pgadmin-data:
name: pgadmin-data