Kafkatorio/modules/infra-factorio-server/src/docker-compose.yml
Adam 90dc520d22 massive refactor to export entities (buildings and resources)
- minor version bumps
- new Factorio version
- use both prototype name and type to identify a prototype
- kxs-ts-gen: use BrandTyping, but exclude some identifiers
- kxs-ts-gen: manually create zip dist, so it can run after the project compiles
- mod: use typed-factorio strict types
- mod: refactor event handlers to be a little more consistent and object-oriented
2022-07-05 23:44:23 +02:00

40 lines
873 B
YAML

version: "3.9"
services:
factorio-server:
image: factoriotools/factorio:${FACTORIO_VERSION}
container_name: "factorio-server"
restart: "no"
networks:
- "kafkatorio-nw"
- "traefik-nw"
labels:
- "traefik.enable=true"
ports:
- "34197:34197/udp" # factorio
- "27015:27015/tcp" # rcon
volumes:
- "./factorio-server:/factorio"
logging:
driver: syslog
options:
syslog-address: "tcp://host.docker.internal:12034"
syslog-format: "rfc5424"
# environment:
# RCON_PORT: 27715
# environment:
# - PUID=1000
# - PGID=1000
# - UPDATE_MODS_ON_START=true
# - USERNAME=FactorioUsername
# - TOKEN=FactorioToken
networks:
kafkatorio-nw:
name: "kafkatorio-nw"
external: true
traefik-nw:
name: "traefik-nw"
external: true