import files

This commit is contained in:
Yann Autissier
2021-02-09 17:05:00 +01:00
parent f5c4576411
commit 44a6d37ba5
425 changed files with 23195 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
POSTGRES_DB=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_USER=postgres
+5
View File
@@ -0,0 +1,5 @@
version: '3.6'
services:
postgres:
image: postgres:9.6-alpine
+6
View File
@@ -0,0 +1,6 @@
version: '3.6'
services:
postgres:
ports:
- 5433:5432
+5
View File
@@ -0,0 +1,5 @@
version: '3.6'
services:
postgres:
image: postgres:latest
+24
View File
@@ -0,0 +1,24 @@
version: '3.6'
services:
postgres:
command: -c logging_collector=on -c log_destination='stderr' -c log_directory='/shared/logs/postgres' -c log_filename='postgresql.log' -c log_file_mode='0644' -c log_rotation_age=0 -c log_checkpoints=on -c log_hostname=on -c log_line_prefix='%t [%p] [%l-1] db=%d,user=%u '
depends_on:
- shared-logs
ports:
- 5432:5432
volumes:
- shared:/shared
shared-logs:
command: sh -c 'mkdir -p /shared/logs/postgres && chown 70:70 /shared/logs/postgres'
image: alpine:latest
volumes:
- shared:/shared
volumes:
shared:
driver: local
driver_opts:
type: none
device: ${MONOREPO_DIR}/shared
o: bind
+25
View File
@@ -0,0 +1,25 @@
version: '3.6'
services:
postgres:
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_USER=${POSTGRES_USER}
labels:
- SERVICE_5432_NAME=${COMPOSE_SERVICE_NAME}-postgres-5432
networks:
- private
ports:
- 5432
volumes:
- postgres:/var/lib/postgresql/data
restart: always
volumes:
postgres:
networks:
private:
external: true
name: ${DOCKER_NETWORK_PRIVATE}