shellphone.app/docker-compose.yml

22 lines
439 B
YAML
Raw Normal View History

2021-08-05 17:07:15 +00:00
version: "3.7"
services:
db:
image: postgres:13-alpine
restart: unless-stopped
volumes:
- data:/var/lib/postgresql/data
2021-08-20 00:31:39 +00:00
env_file: ./.env #Here we are using the already existing .env file
2021-08-05 17:07:15 +00:00
ports:
- "5432:5432"
admin:
image: adminer
restart: unless-stopped
depends_on:
- db
ports:
- 8080:8080
volumes:
data: