mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
30 lines
505 B
YAML
30 lines
505 B
YAML
version: '3.5'
|
|
services:
|
|
web:
|
|
image: registry:5000/alpine:3.6
|
|
command: top
|
|
networks: [network1, network2]
|
|
volumes: [volume1, volume2]
|
|
secrets: [secret1, secret2]
|
|
configs: [config1, config2]
|
|
|
|
networks:
|
|
network1:
|
|
name: named-network
|
|
network2:
|
|
volumes:
|
|
volume1:
|
|
name: named-volume
|
|
volume2:
|
|
secrets:
|
|
secret1:
|
|
name: named-secret
|
|
file: ./data
|
|
secret2:
|
|
file: ./data
|
|
configs:
|
|
config1:
|
|
name: named-config
|
|
file: ./data
|
|
config2:
|
|
file: ./data
|