mirror of
https://github.com/chylex/Advent-of-Code.git
synced 2024-10-17 02:42:45 +02:00
20 lines
376 B
YAML
20 lines
376 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:15
|
|
container_name: "aoc-2017-postgres"
|
|
ports:
|
|
- "127.0.0.1:2017:5432"
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
- .:/aoc:ro
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: aoc2017
|
|
POSTGRES_DB: postgres
|
|
|
|
volumes:
|
|
postgres:
|
|
name: "aoc-2017-postgres"
|