One file to reproduce your entire server
Use the Docker Compose Builder above to see how services, environment variables, volumes, and restart policies fit together. One 'docker compose up -d' brings the whole fleet online.
Warhawk Division is a gaming community. This is a unit document, not a government or military publication.Warhawk Division is an independent gaming community, for entertainment purposes only. It is not affiliated with, sponsored by, or endorsed by Bohemia Interactive, the United States Department of Defense, or any military organization. Arma Reforger is a trademark of its respective owner. Printed from warhawkdivision.com.
Objectives
Stack Builder
services:
caddy:
image: caddy:2-alpine
ports: ['80:80', '443:443']
webapp:
image: ghcr.io/warhawk/app:latest
restart: unless-stopped
postgres:
image: postgres:16-alpine
volumes: ['pgdata:/var/lib/postgresql/data']
volumes:
pgdata:Field Briefing
Use the Docker Compose Builder above to see how services, environment variables, volumes, and restart policies fit together. One 'docker compose up -d' brings the whole fleet online.
Hands-On Lab
Confirm the docker daemon is active, allow ports 80/tcp and 443/tcp in UFW, and inspect docker ps.
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-49-generic x86_64) Type 'help' for commands, Tab to autocomplete, Up/Down for history.
Knowledge Check
1. Should a Postgres container in a Docker Compose stack usually publish port 5432 to 0.0.0.0?
Final Step: Take the Containers & Fleet Skills Test & Claim Certificate