-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (71 loc) · 2.04 KB
/
docker-compose.yml
File metadata and controls
80 lines (71 loc) · 2.04 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '3.3'
services:
# volumes:
# pg_local_volume: {}
# pg_local_script_volume: {}
mysqldb:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: r00t
# adminer:
# image: adminer
# restart: always
# ports:
# - 8080:8080
#
oracledb:
image: oracle/database:12.2.0.1-ee
ports:
- 1521:1521
- 5500:5500
environment:
- ORACLE_SID=xe
- ORACLE_PDB=duwamishpdb
- ORACLE_PWD=Duwamish9
- ORACLE_CHARACTERSET=AL32UTF8
volumes:
- /data/oracle:/opt/oracle/oradata
- ./db:/docker-entrypoint-initdb.d/setup
local_pgdb:
## https://github.com/pgvector/pgvector?tab=readme-ov-file#docker
image: pgvector/pgvector:pg16
container_name: local_pgdb
restart: always
environment:
- POSTGRES_PASSWORD=pachhigares
- PGDATA=/var/lib/postgresql/data/pgdata
# volumes:
## named volume in order to handle chwon issue
# rdb-local_pgdb-1 | chmod: changing permissions of '/var/lib/postgresql/data/pgdata': Read-only file system
#rdb-local_pgdb-1 | chown: changing ownership of '/var/lib/postgresql/data/pgdata': Read-only file system
#rdb-local_pgdb-1 exited with code 0
# - pgdata_local_volume_mount:/var/lib/postgresql/data/pgdata
# - ./db/pg:/docker-entrypoint-initdb.d
# manually created volume
# - 351c9079bfa05a545ea6ee61a33be08cc762cfb0de5872f478cbb34c06a35863:/docker-entrypoint-initdb.d
networks:
- shared_network
ports:
- 5432:5432
local_cdb:
image: cockroachdb/cockroach:v24.3.2
# volumes:
# does not work with Lima
# - ./db/cdb:/docker-entrypoint-initdb.d
ports:
- 5555:5555
command: start-single-node --insecure
networks:
shared_network: {}
volumes:
pgdata_local_volume:
pgdata_local_volume_mount:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: "$HOME/pg/pg-data/"