Skip to content

Commit

Permalink
fix(blog): Fix VPN docker-compose.yaml indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohai-huang authored Oct 29, 2023
1 parent bb3f75f commit c5e36af
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions blog/2022/11-7-how-to-setup-a-ss-vpn-server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ Copy the following two files into a folder and run `docker-compose up -d`

```yaml title="docker-compose.yaml"
version: "3.7"
services:
ss-v2ray-service:
image: teddysun/shadowsocks-libev
container_name: ss-v2ray
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
volumes:
- ./:/etc/shadowsocks-libev # folder of SS config file
ports:
- 6300:9000
- 6300:9000/udp
restart: always
services:
ss-v2ray-service:
image: teddysun/shadowsocks-libev
container_name: ss-v2ray
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
volumes:
- ./:/etc/shadowsocks-libev # folder of SS config file
ports:
- 8333:9000
- 8333:9000/udp
restart: always
```
```json title="config.json"
Expand Down

0 comments on commit c5e36af

Please sign in to comment.