Skip to content

Commit ff4e721

Browse files
committed
Force-recreating sync-gateway enterprise 3.0.4
1 parent ec7d7ae commit ff4e721

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

enterprise/sync-gateway/3.0.4/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ RUN set -x \
2828
# Create directory where the default config stores memory snapshots to disk
2929
RUN mkdir /opt/couchbase-sync-gateway/data
3030

31-
# Copy the default config into the container
32-
COPY config/sync_gateway_config.json /etc/sync_gateway/config.json
31+
# Copy sample service config as the initial config
32+
RUN mkdir /etc/sync_gateway \
33+
&& cp /opt/couchbase-sync-gateway/examples/serviceconfig.json /etc/sync_gateway/config.json \
34+
&& chown -R sync_gateway:sync_gateway /etc/sync_gateway
3335

3436
# Create log dir
3537
RUN set -x \

0 commit comments

Comments
 (0)