cron, db, cache and migrations
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data/pgdata
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
POSTGRES_USER: serverctl
|
||||
POSTGRES_PASSWORD: serverctlsecret
|
||||
POSTGRES_DB: serverctl
|
||||
|
||||
volumes:
|
||||
db_data: {}
|
Reference in New Issue
Block a user