55 lines
863 B
YAML
55 lines
863 B
YAML
name: my-awesome-compose
|
|
|
|
services:
|
|
nginx:
|
|
# TODO no latest??
|
|
build: ./requirements/nginx/
|
|
ports:
|
|
- 8080:80
|
|
|
|
### services ###
|
|
# image:
|
|
# build:
|
|
# ports:
|
|
# depends_on:
|
|
# - ...
|
|
# ...
|
|
# |
|
|
# ...:
|
|
# condition: service_healthy
|
|
# domainname: ...
|
|
# env_file: ...
|
|
# environment: ...
|
|
# expose:
|
|
# - ...
|
|
# ...
|
|
# external-links:
|
|
# - ...
|
|
# ...
|
|
# healthcheck: # Dockerfile
|
|
# hostname: ...
|
|
# labels:
|
|
# - ...
|
|
# ...
|
|
# label_file: ...
|
|
# restart: on-failure:3 / always
|
|
# secrets:
|
|
# - ...
|
|
# ...
|
|
# volumes: {out}:{in}:{rw|ro}
|
|
# networks: ???
|
|
|
|
### networks (list of networks) ###
|
|
# (services are connected to the network "default" by default)
|
|
# (see https://docs.docker.com/compose/how-tos/networking/)
|
|
|
|
### volumes (list of volumes) ###
|
|
# (there's nothing useful???)
|
|
|
|
### configs ###
|
|
# ???
|
|
|
|
### secrets ###
|
|
# ??? see configs before
|
|
|
|
###
|