This repository has been archived on 2024-05-18. You can view files and clone it, but cannot push or open issues or pull requests.
steamServer/docker-compose.yml

38 lines
825 B
YAML
Raw Normal View History

2021-09-20 18:54:25 +02:00
---
services:
steamServer:
2021-09-20 19:06:59 +02:00
image: registry.boehm.sh/philipp/steamserver
2021-09-20 18:54:25 +02:00
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:
2021-09-20 19:06:59 +02:00
- POSTGRES_PASSWORD=secret
2021-09-20 18:54:25 +02:00
- 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