generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 646 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (29 loc) · 646 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
version: '3.7'
services:
mariadb:
image: mariadb:10.8
ports:
- "33064:3306"
volumes:
- ~/apps/flymodel/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=flymodel
- MYSQL_PASSWORD=flymodel
- MYSQL_USER=flymodel
- MYSQL_DATABASE=flymodel
postgres:
image: postgres:15
ports:
- "54324:5432"
volumes:
- ~/apps/flymodel/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=flymodel
- POSTGRES_PASSWORD=flymodel
- POSTGRES_DB=flymodel
networks:
default:
driver: bridge
ipam:
config:
- subnet: 172.16.9.0/24