Rename podman-compose.yml to compose.yml for docker compatibility
This commit is contained in:
parent
6f692d7a5a
commit
3767438d67
1 changed files with 0 additions and 0 deletions
16
compose.yml
Normal file
16
compose.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
services:
|
||||
postgres:
|
||||
image: docker.io/library/postgres:alpine
|
||||
container_name: postgres
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql:Z
|
||||
- postgres_data:/var/lib/postgresql/data:Z
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue