remove old docker compose
This commit is contained in:
@@ -1,49 +0,0 @@
|
|||||||
# docker-compose.yml
|
|
||||||
version: '3.8'
|
|
||||||
services:
|
|
||||||
postgres:
|
|
||||||
image: postgres:alpine
|
|
||||||
environment:
|
|
||||||
POSTGRES_DB: postgres
|
|
||||||
POSTGRES_PASSWORD: password
|
|
||||||
POSTGRES_USER: username
|
|
||||||
ports:
|
|
||||||
- 5435:5432
|
|
||||||
restart: on-failure:3
|
|
||||||
pgweb:
|
|
||||||
image: sosedoff/pgweb
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
environment:
|
|
||||||
PGWEB_DATABASE_URL: postgres://username:password@postgres:5432/postgres?sslmode=disable
|
|
||||||
ports:
|
|
||||||
- 8085:8081
|
|
||||||
restart: on-failure:3
|
|
||||||
redis:
|
|
||||||
image: redis:latest
|
|
||||||
command: redis-server
|
|
||||||
volumes:
|
|
||||||
- redis:/var/lib/redis
|
|
||||||
- redis-config:/usr/local/etc/redis/redis.conf
|
|
||||||
ports:
|
|
||||||
- 6379:6379
|
|
||||||
networks:
|
|
||||||
- redis-network
|
|
||||||
redis-commander:
|
|
||||||
image: rediscommander/redis-commander:latest
|
|
||||||
environment:
|
|
||||||
- REDIS_HOSTS=local:redis:6379
|
|
||||||
- HTTP_USER=root
|
|
||||||
- HTTP_PASSWORD=qwerty
|
|
||||||
ports:
|
|
||||||
- 8081:8081
|
|
||||||
networks:
|
|
||||||
- redis-network
|
|
||||||
depends_on:
|
|
||||||
- redis
|
|
||||||
volumes:
|
|
||||||
redis:
|
|
||||||
redis-config:
|
|
||||||
networks:
|
|
||||||
redis-network:
|
|
||||||
driver: bridge
|
|
||||||
Reference in New Issue
Block a user