mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-03-03 11:48:58 +00:00
Update docker-compose.yaml
This commit is contained in:
@@ -13,27 +13,6 @@ services:
|
|||||||
- TEST_PASSWORD=${SERVICE_PASSWORD_TEST}
|
- TEST_PASSWORD=${SERVICE_PASSWORD_TEST}
|
||||||
database:
|
database:
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
volumes:
|
|
||||||
- db-data:/var/lib/postgresql/data
|
|
||||||
- ./asd/asd:/asd:ro
|
|
||||||
- type: bind
|
|
||||||
source: ./app/pg.sql
|
|
||||||
target: /app/pg.sql
|
|
||||||
content: |
|
|
||||||
-- NOTE: change to your own passwords for production environments
|
|
||||||
\set pgpass `echo "$POSTGRES_PASSWORD"`
|
|
||||||
|
|
||||||
ALTER USER authenticator WITH PASSWORD :'pgpass';
|
|
||||||
ALTER USER pgbouncer WITH PASSWORD :'pgpass';
|
|
||||||
- /asdf:/asdf
|
|
||||||
- type: bind
|
|
||||||
source: ./app
|
|
||||||
target: /app
|
|
||||||
read_only: true
|
|
||||||
- type: bind
|
|
||||||
source: /1234
|
|
||||||
target: /123
|
|
||||||
read_only: false
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=database
|
- POSTGRES_DB=database
|
||||||
- POSTGRES_PASSWORD=password
|
- POSTGRES_PASSWORD=password
|
||||||
|
|||||||
Reference in New Issue
Block a user