---
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
environment:
- POSTGRES_PASSWORD=secret
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ./data:/var/lib/postgresql/data
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