services: f0ck: container_name: f0ck-dockerv image: f0ck-dockerv16 networks: - f0cked volumes: - ./config.json:/opt/f0ckv2/config.json - ./f0ckv2.sql:/opt/f0ckv2/f0ckv2.sql - ./f0ck-data/b/:/opt/f0ckv2/public/b/ - ./f0ck-data/ca/:/opt/f0ckv2/public/ca/ - ./f0ck-data/t/:/opt/f0ckv2/public/t/ ports: - "1337:1337" restart: on-failure postgres: container_name: postgres image: postgres environment: POSTGRES_DB: f0ck POSTGRES_USER: f0ck POSTGRES_PASSWORD: f0ck PGDATA: /data/postgres volumes: - ./postgres:/data/postgres ports: - "5432:5432" networks: - f0cked restart: unless-stopped adminer: image: adminer restart: always ports: - 8080:8080 networks: - f0cked networks: f0cked: driver: bridge volumes: postgres: