Fix staging security and postgres password
parent
aa1ecbdee6
commit
8adbb5638b
|
@ -13,10 +13,8 @@ services:
|
||||||
image: postgres:10.3
|
image: postgres:10.3
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=root
|
- POSTGRES_USER=root
|
||||||
- POSTGRES_PASSWORD=
|
- POSTGRES_PASSWORD=insecure_postgres_password
|
||||||
- POSTGRES_DB=core
|
- POSTGRES_DB=core
|
||||||
ports:
|
|
||||||
- "5432:5432" # Close this for production
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend-core/postgres:/docker-entrypoint-initdb.d:ro
|
- ./backend-core/postgres:/docker-entrypoint-initdb.d:ro
|
||||||
networks:
|
networks:
|
||||||
|
@ -24,17 +22,11 @@ services:
|
||||||
|
|
||||||
nats:
|
nats:
|
||||||
image: nats:latest
|
image: nats:latest
|
||||||
ports: # Close these for production
|
|
||||||
- "4222:4222"
|
|
||||||
- "6222:6222"
|
|
||||||
- "8222:8222"
|
|
||||||
networks:
|
networks:
|
||||||
- natsnet
|
- natsnet
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
ports:
|
|
||||||
- "6379:6379" # Close this for production
|
|
||||||
networks:
|
networks:
|
||||||
- redisnet
|
- redisnet
|
||||||
|
|
||||||
|
@ -43,8 +35,6 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MINIO_ACCESS_KEY=insecure_access_key
|
- MINIO_ACCESS_KEY=insecure_access_key
|
||||||
- MINIO_SECRET_KEY=insecure_secret_key
|
- MINIO_SECRET_KEY=insecure_secret_key
|
||||||
ports:
|
|
||||||
- "9000:9000"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/export
|
- ./files:/export
|
||||||
command: minio server /export
|
command: minio server /export
|
||||||
|
@ -58,7 +48,7 @@ services:
|
||||||
- pg
|
- pg
|
||||||
environment:
|
environment:
|
||||||
- LISTEN=:80
|
- LISTEN=:80
|
||||||
- POSTGRES=postgresql://root@pg:5432/core?sslmode=disable
|
- POSTGRES=postgresql://root:insecure_postgres_password@pg:5432/core?sslmode=disable
|
||||||
networks:
|
networks:
|
||||||
- pgnet
|
- pgnet
|
||||||
- http
|
- http
|
||||||
|
@ -92,7 +82,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- LISTEN=:80
|
- LISTEN=:80
|
||||||
- POSTGRES=postgresql://root@pg:5432/core?sslmode=disable
|
- POSTGRES=postgresql://root:insecure_postgres_password@pg:5432/core?sslmode=disable
|
||||||
- REDIS=redis:6379
|
- REDIS=redis:6379
|
||||||
- TTL=120s
|
- TTL=120s
|
||||||
- MESSAGING_SID=MG19d18fafcff1f3f34dff04c5b04c0699
|
- MESSAGING_SID=MG19d18fafcff1f3f34dff04c5b04c0699
|
||||||
|
@ -117,8 +107,6 @@ services:
|
||||||
- LISTEN=0.0.0.0:10205
|
- LISTEN=0.0.0.0:10205
|
||||||
volumes:
|
volumes:
|
||||||
- ./keys/key.pub:/key.pub:ro
|
- ./keys/key.pub:/key.pub:ro
|
||||||
ports:
|
|
||||||
- "10205:10205" # Remove this for production
|
|
||||||
networks:
|
networks:
|
||||||
- http
|
- http
|
||||||
|
|
||||||
|
@ -151,7 +139,7 @@ services:
|
||||||
- pg
|
- pg
|
||||||
environment:
|
environment:
|
||||||
- LISTEN=:80
|
- LISTEN=:80
|
||||||
- POSTGRES=postgresql://root@pg:5432/core?sslmode=disable
|
- POSTGRES=postgresql://root:insecure_postgres_password@pg:5432/core?sslmode=disable
|
||||||
- REDIS=redis:6379
|
- REDIS=redis:6379
|
||||||
networks:
|
networks:
|
||||||
- pgnet
|
- pgnet
|
||||||
|
|
Loading…
Reference in New Issue