-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 956 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (40 loc) · 956 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
version: '3.8'
services:
postgres_db_latest:
image: postgres:latest
restart: unless-stopped
container_name: postgres-latest
environment:
POSTGRES_USER: system
POSTGRES_PASSWORD: postgres
volumes:
- ./tablespace:/u01
- ./db-init-scripts:/docker-entrypoint-initdb.d
- type: bind
source: ./migration
target: /app/migration
ports:
- 5432:5432
ora2pg:
image: ora2pg
restart: unless-stopped
container_name: ora2pg
environment:
ORACLE_USERNAME: $ORACLE_USERNAME
ORACLE_PASSWORD: $ORACLE_PASSWORD
PG_USERNAME: $POSTGRES_USERNAME
PG_PASSWORD: $POSTGRES_PASSWORD
volumes:
- type: bind
source: ./migration
target: /app/migration
network_mode: "bridge"
networks:
bridge:
ipv4_address: 10.0.0.4
networks:
bridge:
ipam:
driver: default
config:
- subnet: 10.0.0.0/24