Initial Commit
This commit is contained in:
commit
d190beb7bf
13 changed files with 382 additions and 0 deletions
26
deploy/docker/docker-compose.yml
Normal file
26
deploy/docker/docker-compose.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Use postgres/example user/password credentials
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
# set shared memory limit when using docker-compose
|
||||
shm_size: 128mb
|
||||
# or set shared memory limit when deploy via swarm stack
|
||||
#volumes:
|
||||
# - type: tmpfs
|
||||
# target: /dev/shm
|
||||
# tmpfs:
|
||||
# size: 134217728 # 128*2^20 bytes = 128Mb
|
||||
environment:
|
||||
POSTGRES_PASSWORD: Xo65TR6yzUJe2i4t9pQD6AfNGe23Y8ww8CtW7aADfrLLivSsuYpB36oyXXBLH443
|
||||
ports:
|
||||
- 5432:5432
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:8080
|
||||
Loading…
Add table
Add a link
Reference in a new issue