-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (45 loc) · 1.07 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
services:
nginx:
image: ewalsh200/nginx:latest
container_name: nginx
extra_hosts:
- "tmppy:172.250.50.3"
volumes:
- ./app/proj/ui:/website
ports:
- "80:80"
networks:
tmpnet:
ipv4_address: 172.250.50.2
tmppy:
extra_hosts:
- "tmp_pgsql:172.250.50.5"
container_name: tmppy
image: ewalsh200/basepy:3.11.8
volumes:
- ./:/app
ports:
- "8000:8000"
networks:
tmpnet:
ipv4_address: 172.250.50.3
tmp_pgsql:
container_name: tmp_pgsql
image: bitnami/postgresql:15-debian-11
ports:
- '5132:5432'
environment:
- "POSTGRESQL_USERNAME=eds_admin"
- "POSTGRESQL_PASSWORD=Sao4aiGedee4Ahhe"
- "POSTGRESQL_DATABASE=eds_ops"
- "POSTGRESQL_POSTGRES_PASSWORD=Jeech9ahieH3eeThCo0oet0O"
restart: unless-stopped
networks:
tmpnet:
ipv4_address: 172.250.50.5
networks:
tmpnet:
ipam:
driver: default
config:
- subnet: 172.250.50.0/24