Skip to content

Commit cc346cd

Browse files
committed
Revert "Added Tideways"
This reverts commit 1c2279f.
1 parent 2c02b82 commit cc346cd

File tree

3 files changed

+28
-69
lines changed

3 files changed

+28
-69
lines changed

Dockerfile

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,9 @@ ARG CI_DEPLOY_TOKEN
44
ARG VANILLA_VERSION=3.3
55
ARG ENV
66
ARG BRANCH
7-
ARG TIDEWAYS_ENV
87

9-
# TIDEWAYS DAEMON
10-
ENV TIDEWAYS_SERVICE web
11-
ENV TIDEWAYS_ENVIRONMENT=$TIDEWAYS_ENV
12-
ENV TIDEWAYS_DAEMON_EXTRA="--env=$TIDEWAYS_ENVIRONMENT --debug"
13-
14-
# VANILLA
15-
ENV VANILLA_ENV=$ENV
168
ENV WEB_DOCUMENT_ROOT /vanillapp
179

18-
RUN echo "Tideways Daemon for '$TIDEWAYS_ENV' env"
1910

2011
# Get the latest release of Vanilla Forums
2112
RUN wget https://github.com/vanilla/vanilla/releases/download/Vanilla_${VANILLA_VERSION}/vanilla-${VANILLA_VERSION}.zip
@@ -52,11 +43,22 @@ RUN git clone --branch mfe https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platfo
5243
# then rm -R /tmp/forums-plugins/DebugPlugin; \
5344
# fi
5445

46+
# Copy the Filestack plugin
47+
RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-filestack-plugin /tmp/forums-plugins/Filestack
48+
49+
#Copy the Groups plugin
50+
RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-groups-plugin /tmp/forums-plugins/Groups
51+
52+
#Copy the SumoLogic plugin
53+
RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-sumologic-plugin /tmp/forums-plugins/Sumologic
54+
55+
#Copy the TopcoderEditor plugin
56+
RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-topcoder-editor-plugin /tmp/forums-plugins/TopcoderEditor
5557

5658
# Copy all plugins to the Vanilla plugins folder
5759
RUN cp -r /tmp/forums-plugins/. /vanillapp/plugins
5860

59-
# Get the debug bar plugin
61+
#Get the debug bar plugin
6062
RUN if [ "$ENV" = "dev" ]; then \
6163
wget https://us.v-cdn.net/5018160/uploads/addons/KSBIPJYMC0F2.zip; \
6264
unzip KSBIPJYMC0F2.zip; \
@@ -78,24 +80,3 @@ COPY ./vanilla/. /vanillapp/.
7880
# Set permissions on config file
7981
RUN chown application:application /vanillapp/conf/config.php
8082
RUN chmod ug=rwx,o=rx /vanillapp/conf/config.php
81-
82-
# Tideways
83-
RUN apt-get update && apt-get install -yq --no-install-recommends gnupg2;
84-
RUN echo 'deb https://packages.tideways.com/apt-packages-main any-version main' > /etc/apt/sources.list.d/tideways.list && \
85-
curl -L -sS 'https://packages.tideways.com/key.gpg' | apt-key add - && \
86-
apt-get update && \
87-
DEBIAN_FRONTEND=noninteractive apt-get -yq install tideways-php tideways-daemon && \
88-
apt-get autoremove --assume-yes && \
89-
apt-get clean && \
90-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
91-
echo 'extension=tideways.so\ntideways.enable_cli=0\ntideways.sample_rate=25' >> opt/docker/etc/php/php.ini;
92-
93-
# Copy custom supervisor's configs and scripts
94-
# Netcat is used to connect to a memcached server
95-
RUN apt-get update && apt-get install -y netcat
96-
COPY ./services/*.conf /opt/docker/etc/supervisor.d/
97-
COPY ./services/*.sh /opt/docker/bin/service.d/
98-
99-
# Ensure the service files are already executable
100-
RUN chmod +x /opt/docker/bin/service.d/flush_cache.sh
101-
RUN chmod +x /opt/docker/bin/service.d/tideways.sh

docker-compose.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
version: '3'
2-
services:
3-
vanilla-forums:
4-
image: vanilla-forums:latest
5-
container_name: vanilla-forums
6-
env_file:
7-
- ./vanilla.env
8-
build:
9-
context: .
10-
args:
11-
- ENV='dev'
12-
- VANILLA_VERSION=3.3
13-
- CI_DEPLOY_TOKEN
14-
- BRANCH
15-
- TIDEWAYS_ENV
16-
ports:
17-
- 80:80
1+
version: '3'
2+
services:
3+
vanilla-forums:
4+
image: vanilla-forums:latest
5+
container_name: vanilla-forums
6+
env_file:
7+
- ./vanilla.env
8+
build:
9+
context: .
10+
args:
11+
- ENV
12+
- VANILLA_VERSION=3.3
13+
- CI_DEPLOY_TOKEN
14+
- BRANCH
15+
ports:
16+
- 80:80
1817
- 443:443

tideways-daemon/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)