37 lines
825 B
YAML
37 lines
825 B
YAML
---
|
|
services:
|
|
steamServer:
|
|
image: registry.boehm.sh/philipp/steamserver
|
|
container_name: steam-server-api
|
|
networks:
|
|
steamserver_network:
|
|
ipv4_address: 172.20.0.2
|
|
depends_on:
|
|
- postgres
|
|
ports:
|
|
- 127.0.0.1:8080:8080
|
|
- ::1:8080:8080
|
|
restart: unless-stopped
|
|
|
|
postgres:
|
|
image: postgres
|
|
networks:
|
|
steamserver_network:
|
|
ipv4_address: 172.20.0.2
|
|
environment:
|
|
- POSTGRES_PASSWORD=secret
|
|
- PGDATA=/var/lib/postgresql/data/pgdata
|
|
volumes:
|
|
- ./data:/var/lib/postgresql/data
|
|
|
|
networks:
|
|
steamserver_network:
|
|
name: "serverbrowser"
|
|
driver: bridge
|
|
enable_ipv6: false
|
|
ipam:
|
|
config:
|
|
- subnet: 172.20.0.0/29
|
|
gateway: 172.20.0.1
|
|
driver_opts:
|
|
com.docker.network.bridge.name: steamserver
|