can parse api key
This commit is contained in:
+66
-12
@@ -1,12 +1,66 @@
|
||||
sut:
|
||||
build: .
|
||||
dockerfile: Dockerfile.test
|
||||
links:
|
||||
- web
|
||||
web:
|
||||
build: .
|
||||
dockerfile: Dockerfile
|
||||
links:
|
||||
- redis
|
||||
redis:
|
||||
image: redis
|
||||
---
|
||||
version: "2.1"
|
||||
|
||||
services:
|
||||
test:
|
||||
build: integrationtest
|
||||
links:
|
||||
- sync1
|
||||
- sync2
|
||||
volumes:
|
||||
- sync1data:/data1
|
||||
- sync2data:/data2
|
||||
|
||||
sut1:
|
||||
build: .
|
||||
links:
|
||||
- sync1
|
||||
volumes:
|
||||
- sync1config:/config:ro
|
||||
|
||||
sync1:
|
||||
image: ghcr.io/linuxserver/syncthing:${SYNCTHING_VERSION}
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
- sync1config:/config
|
||||
- sync1data:/data
|
||||
ports:
|
||||
- ${SYNC1_LISTEN_PORT}:22000
|
||||
|
||||
sut2:
|
||||
build: .
|
||||
links:
|
||||
- sync2
|
||||
volumes:
|
||||
- sync2config:/config:ro
|
||||
|
||||
sync2:
|
||||
image: ghcr.io/linuxserver/syncthing:${SYNCTHING_VERSION}
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
- sync2config:/config
|
||||
- sync2data:/data
|
||||
ports:
|
||||
- ${SYNC2_LISTEN_PORT}:22000
|
||||
|
||||
etcd:
|
||||
image: quay.io/coreos/etcd
|
||||
command: /usr/local/bin/etcd --data-dir=/etcd-data
|
||||
ports:
|
||||
- 2379:2379
|
||||
- 2380:2380
|
||||
volumes:
|
||||
- etcd-data:/etcd-data
|
||||
|
||||
volumes:
|
||||
sync1data:
|
||||
sync1config:
|
||||
sync2data:
|
||||
sync2config:
|
||||
etcd-data:
|
||||
Reference in New Issue
Block a user